/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-6-1 下午5:22 Created by lyyang
 */
package com.xunton.bss.weixin.api.coupon.pdu;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 时间对象
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-6-1 下午5:22
 */
public class DateInfo implements Serializable
{
    private int type;

    @JsonProperty ("begin_timestamp")
    private long beginTimestamp;

    @JsonProperty ("end_timestamp")
    private long endTimestamp;

    @JsonProperty ("fixed_term")
    private long fixedTerm;

    @JsonProperty ("fixed_begin_term")
    private long fixedBeginTerm;

    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public long getBeginTimestamp()
    {
        return beginTimestamp;
    }

    public void setBeginTimestamp(long beginTimestamp)
    {
        this.beginTimestamp = beginTimestamp;
    }

    public long getEndTimestamp()
    {
        return endTimestamp;
    }

    public void setEndTimestamp(long endTimestamp)
    {
        this.endTimestamp = endTimestamp;
    }

    public long getFixedTerm()
    {
        return fixedTerm;
    }

    public void setFixedTerm(long fixedTerm)
    {
        this.fixedTerm = fixedTerm;
    }

    public long getFixedBeginTerm()
    {
        return fixedBeginTerm;
    }

    public void setFixedBeginTerm(long fixedBeginTerm)
    {
        this.fixedBeginTerm = fixedBeginTerm;
    }
}
